package com.jiangyg.mall.cart.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 类描述：勾选购物车商品
 *
 * @author jiangyg
 * @version 4.0
 * @date 2022-12-08
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class CheckedSkuDTO implements Serializable {

    private static final long serialVersionUID = -2627826137434021008L;

    /**
     * skuId 集合
     */
    @NotNull
    private List<String> skuIds;

    /**
     * 是否勾选
     */
    @NotNull
    private boolean checked;

}
